using System;
using System.Collections.Generic;


namespace CMS_Admin.Backend.Api.Entity
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class Users : BaseEntity
    {

        public string Nickname { get; set; }
        public string Username { get; set; }

        public string Password { get; set; }
        //角色ID
        public int RolesId {get;set;}

        public string Txcolor{get;set;}
        public string Bgcolor{get;set;}

        public virtual Roles User { get; set; }
        public virtual IEnumerable<UserArticles> UserArticles { get; set; }
        public virtual IEnumerable<Likes> Likes { get; set; }
        public virtual IEnumerable<Comments> Comments { get; set; }
        

    }
}
